package com.sumainfor.wx.tenant.service.impl;

import com.sumainfor.wx.tenant.dao.TenantIdMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Meng
 * @ClassName TenantIdService
 * @date 2019/8/29 9:56
 * @description: TODO tenId标准查询逻辑
 */
@Service
public class TenantIdService {

    @Autowired
    private TenantIdMapper tenantIdMapper;

    public List<String> getTenIdListByLikeNameOrPhone(String params) {
        return tenantIdMapper.getTenIdListByLikeNameOrPhone(params);
    }

    public List<String> getTenIdListByNameOrPhone(String params) {
        return tenantIdMapper.getTenIdListByNameOrPhone(params);
    }
}
